package com.example.fireassistant_server.mapper;

import com.example.fireassistant_server.dto.polyline.PolyLineCreateRequest;
import com.example.fireassistant_server.dto.polyline.PolyLineDto;
import com.example.fireassistant_server.dto.user.UserCreateRequest;
import com.example.fireassistant_server.entity.PolyLine;
import com.example.fireassistant_server.entity.User;
import com.example.fireassistant_server.vo.PolyLineVo;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface PolyLineMapper {
    PolyLineVo toVo(PolyLineDto polyLineDto);

    PolyLineDto toDto(PolyLine polyLine);

    PolyLine createEntity(PolyLineCreateRequest polyLineCreateRequest);

}
